import request from '@/utils/request'

export function getStockWarn(query) {
	return request({
		url: "/api/productStock/lowStockList",
		method: "POST",
		data: query
	})
}

export function searchStockWarn(id) {
	return request({
		url: `/api/productStock/lowStock/${id}`,
		method: "GET"
	})
}
